import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';
import { TimeEntity } from '@/pmp/entity/base/time.entity';
// 用户表
@Entity('pmp-sys-user')
export class PmpSysUserEntity extends TimeEntity {
  @PrimaryGeneratedColumn()
  id: bigint;

  @Column()
  user_name: string;

  @Column()
  pass_word: string;

  @Column()
  nick_name: string;

  @Column()
  sex: number;

  @Column()
  phone: string;

  @Column()
  email: string;

  @Column()
  avatar: string;

  @Column()
  status: number;
}
